const base_url = 'http://81.70.162.221:3000'
axios.defaults.baseURL = base_url

function imgUrl(url) {
  return base_url + '/' + url
}
function GetQueryString(name) {
  var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)");
  var r = window.location.search.substr(1).match(reg);
  if (r != null) return unescape(r[2]); return null;
}